import axios from './axiosFun';


//获取所有公告列表
export const getNotices = (params) => {return axios.post("/notice/getList",params)}

//删除公告
export const deleteNotice = (param) => {return axios.get("/notice/delete?id="+param)}

//获取某个公告
export const getNotice = (param) => {return axios.get("/notice/getNotice?id="+param)}

//获取某个公告
export const noticeSave = (params) => {return axios.post("/notice/noticeSave",params)}
